package org.example;

/**
 * Hello world!
 *
 */
public class App 
{
    public static void main( String[] args )
    {
        System.out.println( "====================委派模式===================" );
        Boss boss = new Boss();
        Leader leader = new Leader();

        boss.command(leader, "爬虫");
        boss.command(leader, "修电脑");
    }
}
